package com.keepmoving.service.impl;

import com.keepmoving.dao.RoleDao;
import com.keepmoving.po.Role;
import com.keepmoving.service.RoleService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author zxd
 * 角色业务逻辑接口实现
 */
@Service
public class RoleServiceImpl implements RoleService {

    @Resource
    RoleDao roleDao;

    @Override
    public List<Role> findAll() {
        return roleDao.findAll();
    }
}
